home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _8B23E0E8FBB14740B5E517E145340118 < prev    next >
Encoding:
Text File  |  2002-03-22  |  3.0 KB  |  175 lines

  1. {
  2.     \\ QUIT MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name        "quit_popmenu"
  7.         visible        0
  8.         fullscreen    0
  9.         rect        0 0 640 480
  10.         focusColor    .49 .56 .27 1
  11.         style        WINDOW_STYLE_FILLED
  12.         popup
  13.  
  14.         onESC 
  15.         { 
  16.             close vid_restart_popmenu ; 
  17.         }
  18.  
  19.         itemDef
  20.         {
  21.             name        window
  22.             rect        0 0 640 480
  23.             style        WINDOW_STYLE_FILLED
  24.             backcolor    0 0 0 .5
  25.             visible        1
  26.             decoration
  27.         }
  28.  
  29.         itemDef 
  30.         {
  31.             name        window
  32.             rect        202 122 235 235
  33.             background    "gfx/menus/backdrop/requestor"
  34.             style        WINDOW_STYLE_SHADER
  35.             visible        1
  36.             decoration
  37.         }
  38.  
  39.         itemDef 
  40.         {
  41.             name        window
  42.             style        WINDOW_STYLE_FILLED
  43.             text        "Quit Game?"
  44.             textfont    "hud"
  45.             textscale    .53
  46.             rect        214 132 190 33
  47.             textalign    1
  48.             textalignx    100
  49.             textaligny    10
  50.             forecolor    .12 .14 .08 1
  51.             backcolor    0 0 0 .25
  52.             visible        1
  53.             decoration
  54.         }
  55.  
  56.         itemDef 
  57.         {
  58.             name        window
  59.             text        "This will apply video"
  60.             text        "Choose yes if you want"
  61.             textfont    "hud"
  62.             textscale    .43
  63.             rect        225 190 110 20
  64.             textalignx    5
  65.             textaligny    2
  66.             forecolor    .12 .14 .08 1
  67.             visible        1
  68.             decoration
  69.         }
  70.  
  71.         itemDef 
  72.         {
  73.             name        window
  74.             text        "settings and return"
  75.             text        "to quit back to your"
  76.             textfont    "hud"
  77.             textscale    .43
  78.             rect        225 210 110 20
  79.             textalignx    5
  80.             textaligny    2
  81.             forecolor    .12 .14 .08 1
  82.             visible        1
  83.             decoration
  84.         }
  85.  
  86.         itemDef 
  87.         {
  88.             name        window
  89.             text        "operating system"
  90.             textfont    "hud"
  91.             textscale    .43
  92.             rect        225 230 110 20
  93.             textalignx    5
  94.             textaligny    2
  95.             forecolor    .12 .14 .08 1
  96.             visible        1
  97.             decoration
  98.         }
  99.  
  100.  
  101.         itemDef 
  102.         {
  103.             name        yes_button
  104.             style        WINDOW_STYLE_FILLED
  105.             type        ITEM_TYPE_BUTTON
  106.             text        "Yes"
  107.             rect        240 280 40 26
  108.             textalign    1
  109.             textalignx    20
  110.             textaligny    4
  111.             textfont    "hud"
  112.             textscale    .43
  113.             forecolor    .12 .14 .08 1
  114.             backcolor    0 0 0 0
  115.             border        1
  116.             bordercolor    0 0 0 1
  117.               visible        1
  118.  
  119.             action 
  120.             { 
  121.                 play "sound/misc/menus/select.wav" ; 
  122.  
  123.                 uiScript "quit"
  124.             }
  125.             mouseEnter 
  126.             { 
  127.                 play "sound/misc/menus/hilite1.wav" ; 
  128.                 setitemcolor yes_button backcolor .12 .14 .08 1
  129.                 setitemcolor yes_button forecolor .49 .56 .27 1
  130.             }
  131.               mouseExit 
  132.             { 
  133.                 setitemcolor yes_button forecolor .12 .14 .08 1
  134.                 setitemcolor yes_button backcolor 0 0 0 0
  135.             }
  136.         }
  137.  
  138.         itemDef 
  139.         {
  140.             name        no_button
  141.             style        WINDOW_STYLE_FILLED
  142.             type        ITEM_TYPE_BUTTON
  143.             text        "No"
  144.             rect        340 280 40 26
  145.             textalign    1
  146.             textalignx    18
  147.             textaligny    4
  148.             textfont    "hud"
  149.             textscale    .43
  150.             forecolor    .12 .14 .08 1
  151.             backcolor    0 0 0 0
  152.             border        1
  153.             bordercolor    0 0 0 1
  154.               visible        1
  155.  
  156.             action 
  157.             { 
  158.                 play "sound/misc/menus/select.wav" ; 
  159.  
  160.                 close quit_popmenu ; 
  161.             }
  162.             mouseEnter 
  163.             { 
  164.                 play "sound/misc/menus/hilite1.wav" ; 
  165.                 setitemcolor no_button backcolor .12 .14 .08 1
  166.                 setitemcolor no_button forecolor .49 .56 .27 1
  167.             }
  168.               mouseExit 
  169.             { 
  170.                 setitemcolor no_button forecolor .12 .14 .08 1
  171.                 setitemcolor no_button backcolor 0 0 0 0
  172.             }
  173.         }
  174.     }
  175. }